package com.mico.example.springboot.mybatis.multi.service;



import com.mico.example.springboot.mybatis.multi.domain.primary.User;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by micocube
 * ProjectName: springboot-example
 * PackageName: com.mico.example.springboot.jpa.service
 * User: micocube
 * Email: ldscube@gmail.com
 * CreateTime: 2019/2/25下午1:49
 * ModifyTime: 2019/2/25下午1:49
 * Version: 0.1
 * Description:
 **/
@Transactional(rollbackFor = Exception.class)
public interface UserService {
    public User findById(Integer id);

    public int testTransaction();

}
